﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QualityRpt.Dao;
using System.Data;

namespace QualityRpt.Service
{
    public class NetWorkPlazaService:BaseService
    {
         private static INetWorkPlazaDao _impDao = null;
         static NetWorkPlazaService()
         {
             _impDao = CreateDaoInstance("INetWorkPlazaDao") as INetWorkPlazaDao;
         }
         public static DataTable GetSchema()
         {
             return _impDao.GetSchema();
         }
         public static DataRow Save(DataRow row)
         {
             return _impDao.Save(row);
         }
         public static DataRow Update(DataRow row)
         {
             return _impDao.Update(row);
         }
         public static void Delete(int id)
         {
             _impDao.Delete(id);
         }
         public DataRow Get(int id)
         {
             return _impDao.Get(id);
         }
         public static DataTable GetRoadList()
         {
             return _impDao.GetRoadList();
         }
         public static DataTable GetListByRdIn(string rdin)
         {
             return _impDao.GetListByRdIn(rdin);
         }
         public static DataTable GetList(string where)
         {
             return _impDao.GetList(where);
         }
         public static DataTable GetList(string where, string sort)
         {
             return _impDao.GetList(where, sort);
         }
         public static DataRow GetRoadByName(string name)
         {
             return _impDao.GetRoadByName(name);
         }
         public static DataRow GetPlazaByName(string name, int rd)
         {
             return _impDao.GetPlazaByName(name, rd);
         }
         public static DataTable GetAJOINList(string where, string sort)
         {
             return _impDao.GetAJoinList(where,sort);
         }
         public static DataRow SaveAJoin(DataRow row)
         {
             return _impDao.SaveAJoinRow(row);
         }
         public static DataRow UpdateAJoin(DataRow row)
         {
             return _impDao.UpdateAJoinRow(row);
         }
         public static DataTable GetAJoinSchema()
         {
             return _impDao.GetAJoinSchema();
         }
         public static DataRow GetAJoin(int id)
         {
             return _impDao.GetAJoin(id);
         }
         public static void DeleteAJoin(int id)
         {
             _impDao.DeleteAJoin(id);
         }
         public static void DeleteAJoinByMP(int mpid)
         {
             _impDao.DeleteAJoinByMP(mpid);
         }
         public static DataRow GetByORGAN_ID(int ORGAN_ID)
         {
             return _impDao.GetByORGAN_ID(ORGAN_ID);
         }
    }
}
